﻿#pragma once

#include <QWidget>
#include "ui_positionwid.h"
#include "common_data.h"

class Component;

class PositionWid : public QWidget
{
	Q_OBJECT

public:
	PositionWid(QWidget *parent = nullptr, bool show = true);
	~PositionWid();

	void SetPosition(const Position& pos);
	Position GetPosition();


private slots:
	void on_pushButton_clicked();

private:
	Ui::PositionWid ui;
	Component* m_rob = nullptr;
};
